// post请求
export const login = (data) => {
  return uni.$post('/portal/member/login', data);
};
export const postToken = (data, token) => {
  return uni.$post('/postToken', data, token);
};
// get请求
export const getToken = (data, token) => {
  return uni.$get('/getToken', data, token);
};
export const getNoToken = (data) => {
  return uni.$get('/getNoToken', data);
};

//发送验证码
export const smsAuthCodeSend = (data, token) => {
	return uni.$post('/portal/sms/smsAuthCodeSend', data, token)
}
